Skip to content

Update to AssertJ 4.0 #4653

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 4 commits into
base: main
Choose a base branch
from
Draft

Update to AssertJ 4.0 #4653

wants to merge 4 commits into from

Conversation

marcphilipp
Copy link
Member

Overview

Try out AssertJ 4.0 prior to its release.


I hereby agree to the terms of the JUnit Contributor License Agreement.


Definition of Done

@@ -3,7 +3,7 @@ ant = "1.10.15"
apiguardian = "1.1.2"
asciidoctorj-pdf = "2.3.19"
asciidoctor-plugins = "4.0.4" # Check if workaround in documentation.gradle.kts can be removed when upgrading
assertj = "3.27.3"
assertj = "4.0.0-M1"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We now publish snapshots:

Suggested change
assertj = "4.0.0-M1"
assertj = "4.0.0-SNAPSHOT"

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! You don't publish snapshot Javadoc anywhere, do you?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If I'm not mistaken, the Javadoc JAR also gets generated and published to Maven Central, but I don't know how its content could be consumed/linked.

As part of version 4 work, I plan to publish the Javadoc also to our own domain to relax a bit the dependency to javadoc.io, and the new publishing will also include snapshot content.

@marcphilipp
Copy link
Member Author

Looks like xmlunit needs to be adjusted due to assertj/assertj@989faf8

@scordio
Copy link
Contributor

scordio commented Aug 11, 2025

Looks like xmlunit needs to be adjusted due to assertj/assertj@989faf8

Thanks for the heads up! We'll reach out to the project about it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants